//
//  STDPrivate.m
//  STDPrivate
//
//  Created by curer on 11/13/15.
//  Copyright © 2015 lion. All rights reserved.
//

#import "STDPrivate.h"
#include <objc/runtime.h>

@implementation STDPrivate

+ (NSArray *)installedApp {
    Class LSApplicationWorkspace_class = objc_getClass("LSApplicationWorkspace");
    NSObject* workspace = [LSApplicationWorkspace_class performSelector:@selector(defaultWorkspace)];
    NSLog(@"apps: %@", [workspace performSelector:@selector(allApplications)]);
    
    return nil;
}

@end
